package me.macd.mindoc.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

public class Books {
    @JsonProperty("book_id")
    private Integer bookId;

    @JsonProperty("book_name")
    private String bookName;

    @JsonProperty("identify")
    private String identify;

    @JsonProperty("auto_release")
    private Integer autoRelease;

    @JsonProperty("is_download")
    private Integer isDownload;

    @JsonProperty("order_index")
    private Integer orderIndex;

    @JsonProperty("description")
    private String description;

    @JsonProperty("publisher")
    private String publisher;

    @JsonProperty("label")
    private String label;

    @JsonProperty("privately_owned")
    private Integer privatelyOwned;

    @JsonProperty("private_token")
    private String privateToken;

    @JsonProperty("status")
    private Integer status;

    @JsonProperty("editor")
    private String editor;

    @JsonProperty("doc_count")
    private Integer docCount;

    @JsonProperty("comment_status")
    private String commentStatus;

    @JsonProperty("comment_count")
    private Integer commentCount;

    @JsonProperty("cover")
    private String cover;

    @JsonProperty("theme")
    private String theme;

    @JsonProperty("create_time")
    private Date createTime;

    @JsonProperty("history_count")
    private Integer historyCount;

    @JsonProperty("is_enable_share")
    private Integer isEnableShare;

    @JsonProperty("member_id")
    private Integer memberId;

    @JsonProperty("modify_time")
    private Date modifyTime;

    @JsonProperty("version")
    private Long version;

    @JsonProperty("is_use_first_document")
    private Integer isUseFirstDocument;

    @JsonProperty("auto_save")
    private Integer autoSave;

    public Books(Integer bookId, String bookName, String identify, Integer autoRelease, Integer isDownload, Integer orderIndex, String description, String publisher, String label, Integer privatelyOwned, String privateToken, Integer status, String editor, Integer docCount, String commentStatus, Integer commentCount, String cover, String theme, Date createTime, Integer historyCount, Integer isEnableShare, Integer memberId, Date modifyTime, Long version, Integer isUseFirstDocument, Integer autoSave) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.identify = identify;
        this.autoRelease = autoRelease;
        this.isDownload = isDownload;
        this.orderIndex = orderIndex;
        this.description = description;
        this.publisher = publisher;
        this.label = label;
        this.privatelyOwned = privatelyOwned;
        this.privateToken = privateToken;
        this.status = status;
        this.editor = editor;
        this.docCount = docCount;
        this.commentStatus = commentStatus;
        this.commentCount = commentCount;
        this.cover = cover;
        this.theme = theme;
        this.createTime = createTime;
        this.historyCount = historyCount;
        this.isEnableShare = isEnableShare;
        this.memberId = memberId;
        this.modifyTime = modifyTime;
        this.version = version;
        this.isUseFirstDocument = isUseFirstDocument;
        this.autoSave = autoSave;
    }

    public Books() {
        super();
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName == null ? null : bookName.trim();
    }

    public String getIdentify() {
        return identify;
    }

    public void setIdentify(String identify) {
        this.identify = identify == null ? null : identify.trim();
    }

    public Integer getAutoRelease() {
        return autoRelease;
    }

    public void setAutoRelease(Integer autoRelease) {
        this.autoRelease = autoRelease;
    }

    public Integer getIsDownload() {
        return isDownload;
    }

    public void setIsDownload(Integer isDownload) {
        this.isDownload = isDownload;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher == null ? null : publisher.trim();
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public Integer getPrivatelyOwned() {
        return privatelyOwned;
    }

    public void setPrivatelyOwned(Integer privatelyOwned) {
        this.privatelyOwned = privatelyOwned;
    }

    public String getPrivateToken() {
        return privateToken;
    }

    public void setPrivateToken(String privateToken) {
        this.privateToken = privateToken == null ? null : privateToken.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor == null ? null : editor.trim();
    }

    public Integer getDocCount() {
        return docCount;
    }

    public void setDocCount(Integer docCount) {
        this.docCount = docCount;
    }

    public String getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(String commentStatus) {
        this.commentStatus = commentStatus == null ? null : commentStatus.trim();
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme == null ? null : theme.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getHistoryCount() {
        return historyCount;
    }

    public void setHistoryCount(Integer historyCount) {
        this.historyCount = historyCount;
    }

    public Integer getIsEnableShare() {
        return isEnableShare;
    }

    public void setIsEnableShare(Integer isEnableShare) {
        this.isEnableShare = isEnableShare;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Integer getIsUseFirstDocument() {
        return isUseFirstDocument;
    }

    public void setIsUseFirstDocument(Integer isUseFirstDocument) {
        this.isUseFirstDocument = isUseFirstDocument;
    }

    public Integer getAutoSave() {
        return autoSave;
    }

    public void setAutoSave(Integer autoSave) {
        this.autoSave = autoSave;
    }
}